package cn.cqone.crm.mapper;

import cn.cqone.crm.domain.SetMeal;
import cn.cqone.crm.query.SetMealQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SetMealMapper extends BaseMapper<SetMeal,Long, SetMealQuery>{
    List<SetMeal> selectFromIds(List<Long> setMeals);
    int buySetMeal(@Param("setMeals") List<SetMeal> setMeals);

    List<Long> findLength(Long setmeal_id);
}
